﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MyAuthCore.Model.Beans
{
    public class ResponseResult
    {
        /// <summary>
        /// 错误码
        /// </summary>
        public StateCode Code { get; set; } = StateCode.Error;
        /// <summary>
        /// 错误信息
        /// </summary>
        public string Message { get; set; } = string.Empty;

    }
    public enum StateCode
    {
        Success = 200,
        Error = 520
    }

}
